#set($allowedRoles = "'theRole'")
#parse("include/html-body-open.inc.html")

#parse("include/header.inc.html")

<script type="x-ext-js/template" id="view-row-template">
<tpl>
  The id of this row is <b>{id}</b> and the stringAttribute has the value: "<b>{stringAttribute:htmlEncode}</b>"

  <p>

  <a href="${htmlPath}/edit-row/edit-row.html#id={id}">Edit this row</a><br>
  <a href="javascript:MyApp.in_page.delete_row.deleteRow({id}, '${htmlPath}/list-rows/list-rows.html')">Delete this row</a>
</tpl>
</script>
  
<div class="contentTop"><h1>View row</h1></div>

<div class="contentMiddle">
  <div id="template-div"><br><br><br></div>
</div>

#parse("include/footer.inc.html")

<script type="text/javascript" src="${staticPath}/@view-row/view-row-template.js@"></script>

#parse("include/html-body-close.inc.html")